#include <iostream>
using std::cout;
using std::endl;

class A{
};

class B
: public A
{
};

class C
: public A
{
};

class E
: public A
{
};

class D
: public C
, public B
, public E
{
public:
    long _d;
};


void test0(){
    /* D d; */
    
    cout << sizeof(A) << endl;
    cout << sizeof(B) << endl;
    cout << sizeof(C) << endl;
    cout << sizeof(E) << endl;
    cout << sizeof(D) << endl;

    /* d.A::print(); */
    /* d.B::print(); */
    /* d.C::print(); */
}

int main(void){
    test0();
    return 0;
}
